<!DOCTYPE html>
<html>
<head>
<title></title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group">
				<div class="col-sm-4">
					<input type="text" class="form-control" v-model="q.name" @keyup.enter="query" placeholder="求职人员姓名">
				</div>
				<div class="col-sm-4">
					<input type="text" class="form-control" v-model="q.unitName" @keyup.enter="query" placeholder="求职单位名称">
				</div>
				<div class="col-sm-4">
					<select v-model="q.psState" class="form-control" >
						<option  value=" ">所有</option>
						<option  value="0">未开始</option>
						<option  value="3">延迟体检</option>
					</select>
				</div>
			</div>

			<a class="btn btn-default" @click="query">查询</a>
			#if($shiro.hasPermission("interview:update"))
			<a class="btn btn-primary" @click="passPS"><i class="fa fa-plus"></i>&nbsp;体检合格</a>
			#end
			#if($shiro.hasPermission("interview:update"))
			<a class="btn btn-primary" @click="failedPS"><i class="fa fa-plus"></i>&nbsp;体检不合格</a>
			#end
			#if($shiro.hasPermission("interview:update"))
			<a class="btn btn-primary" ><i class="fa fa-plus"></i>&nbsp;不合格但通过</a>
			#end
			#if($shiro.hasPermission("interview:update"))
			<a class="btn btn-primary" ><i class="fa fa-plus"></i>&nbsp;不体检但通过</a>
			#end
			#if($shiro.hasPermission("interview:update"))
			<a class="btn btn-primary" @click="laterPSView"><i class="fa fa-plus"></i>&nbsp;延迟体检</a>
			#end
		</div>
		<!-----用来计算单元格内容实际长度的--------->
		<!--<div class="ui-jqgrid ui-widget ui-widget-content ui-corner-all" style="position:absolute;top:-9999px"><div class="ui-jqgrid-view">
			<div class="ui-jqgrid-bdiv"><div style="position: relative;"><table cellspacing="0" cellpadding="0" border="0"><tr class="ui-widget-content jqgrow ui-row-ltr" style="table-layout:auto"><td id="tdCompute" style="background:#eee;width:auto"></td></tr></table></div></div></div></div>
		--><!-----用来计算单元格内容实际长度的--------->
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">需求编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.damandid" placeholder="需求编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">求职人员姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.empname" placeholder="求职人员姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">性别</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.sex" placeholder="性别"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">年龄</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.age" placeholder="年龄"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">学历</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.education" placeholder="学历"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">证书</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.ertificate" placeholder="证书"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">婚否(0,未婚，1，已婚)</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.married" placeholder="婚否(0,未婚，1，已婚)"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">求职单位编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.companyid" placeholder="求职单位编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">求职单位名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.company" placeholder="求职单位名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">岗位编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.jobid" placeholder="岗位编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">岗位名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.jobname" placeholder="岗位名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">一面状态(0,还未开始,1,通过一面,2,未通过)</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.firInterviewStatus" placeholder="一面状态(0,还未开始,1,通过一面,2,未通过)"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">二面状态(0,还未开始,1,通过一面,2,未通过)</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.secInterviewStatus" placeholder="二面状态(0,还未开始,1,通过一面,2,未通过)"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">体检状态</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.physicalExaminationStatus" placeholder="体检状态"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">推迟体检状态</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="interview.laterPeTime" placeholder="推迟体检状态"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>

	<!-- 弹出框 -->
	<div id="popLayer" style="display: none;padding:10px;">
		<form class="form-horizontal">
			<div class="form-group">
				<div class="col-sm-4 control-label">体检时间</div>
				<div class="col-sm-8">
					<input type="text" class="form-control"  placeholder="体检时间"
						   id="psTime" onClick="WdatePicker({lang:'zh-cn',dateFmt:'yyyy-MM-dd',minDate:'%y-%M-{%d+1}'})"  readonly="readonly"/>
				</div>
			</div>
		</form>
	</div>

</div>

<script src="${rc.contextPath}/js/recruit/interview_ps.js?_${date.systemTime}"></script>
</body>
</html>